package org.groupg.practice.configuration;

import java.util.List;

public class User {
    private int id;
    private String username;
    private List<String> roles;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    // Getters & Setters
    @Override
    public String toString() {
        return "User{id=" + id + ", username='" + username + "', roles=" + roles + "}";
    }
}